package com.demo.service;

import com.demo.pojo.dto.RoomListDTO;
import com.demo.pojo.entity.Room;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author lenovo
* @description 针对表【room】的数据库操作Service
* @createDate 2025-01-27
*/
public interface RoomService extends IService<Room> {

    Room selectById(Integer id);

    void saveRoom(Room room);

    void updateRoom(Room room);

    Map<String, Object> listPage(RoomListDTO roomListDTO);

    /**
     * 获取所有教室列表
     * @return 教室列表
     */
    List<RoomListDTO> getRoomList();

}

